package com.shouxun.microclassroom;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class Test1Activity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.message);
        ExitApplication.getInstance().addActivity(this);
        TextView name=(TextView) findViewById(R.id.title);
        TextView pwd=(TextView) findViewById(R.id.content);
        Intent intent = getIntent();
        if (null != intent) {
	       String title=intent.getStringExtra("title");
	       String content=intent.getStringExtra("content");
	       name.setText(title);
	       pwd.setText(content);
        }
    }

}
